home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / md730c64.doc < prev    next >
Text File  |  1985-06-03  |  18KB  |  428 lines

  1.  
  2.                 MDM730
  3.  
  4.              (NOTES ON HOW TO USE)
  5.  
  6.               Copyright 1983,1984
  7.  
  8.  
  9.               Irvin M. Hoff W6FFC
  10.  
  11.                   22 Mar 1984
  12.  
  13.  
  14. NOTE:  MDM730 SUPPORTS AUTO-DIALING AND AUTOMATIC CONTINUOUS REDIALING
  15.        FOR THE FOLLOWING MODEMS:
  16.  
  17.             SIGNALMAN ANCHOR MARK XII
  18.             HAYES SMARTMODEM 300 OR 1200 MODEMS
  19.             U. S. ROBOTICS 300/1200 MODEM
  20.             PMMI 103 S-100 PLUG-IN MODEM
  21.  
  22.     IT CAN STILL BE EASILY USED WITH OTHER EXTERNAL MODEMS
  23.     ITH MANUAL DIALING SUCH AS THE BELL 212A, RACAL-VADIC,
  24.     ETC.  IT SUPPORTS UP TO TWO LONG-DISTANCE DIALING SYSTEMS
  25.     (SUCH AS 'MCI', 'SPRINT', 'TYMNET', ETC. FOR TOUCH-TONE
  26.     DIALING SYSTEMS.
  27.  
  28.  
  29. INTRODUCTION:
  30. ------------
  31.  
  32.      MDM730 enables a computer to communicate with another computer.
  33. This is normally done by using standard telephone lines but with special
  34. audio tones sending serial data.  Two common speeds are used, depending
  35. on the facilities available -- 300 Baud or 1200 Baud.  A "modem" is used
  36. which provides these audio tones.  This is an acronym for "modulator and
  37. demodulator".  The one section (modulator) provides the audio tones for
  38. sending over the telephone line and the other section (demodulator) then
  39. converts those audio tones back to digital pulses the computer uses to
  40. receive the incoming data.
  41.  
  42.      The modem itself is a hardware utility, usually costing around $75
  43. to $200 for a typical 300 Baud device and from $250 to $800 for a system
  44. offering 1200 Baud as well as 300 Baud.  Some of these (such as the PMMI
  45. S-100 modem board) plug directly into the computer itself, while others
  46. are totally independent of the computer and use an interconnect cable
  47. (usually a RS-232 type) to control the external modem.    A Bell 212A is
  48. an excellent example of this type modem.  Other examples would include
  49. the Racal-Vadic, Hayes Smartmodem, U. S. Robotics, Signalman Anchor, etc.
  50.  
  51.      The program discussed in this guide allows each computer involved
  52. to directly control its own modem, converting DC pulses into audio tones
  53. which are sent to (or received from) the telephone line.  (The standard
  54. 1200 baud transmissions use "DPSK" (dibit phase shift keying) instead of
  55. "AFSK" (audio frequency shift keying).
  56.  
  57.      For short distances, no modems are required as the computer can
  58. provide the necessary digital voltages.  This discussion is centered
  59. around systems intended for use over distances ranging from several
  60. miles to literally around the world.
  61.  
  62.  
  63.  
  64. FEATURES:
  65. --------
  66.  
  67.      A program to communicate with another computer can range from very
  68. simple to very complex.  MDM730 is one of the more complex such programs
  69. available today.  It started in 1977 as a relatively simple program.  It
  70. was called MODEM at that time.    It was intended to be used primarily as
  71. a means of exchanging programs with other people in other cities.  Since
  72. that time a number of other (very useful) features have been added, in
  73. addition to improved methods of program transfer.  A list of some of the
  74. features offered by this particular program include:
  75.  
  76.   1)  Ability to talk with another computer via keyboard at each end.
  77.       (Called the "terminal mode".)
  78.   2)  Ability to operate a remote mainframe computer such as TYM-SHAR,
  79.       or special data bank systems now commonplace.  This includes
  80.       "bulletin board" systems for receiving, sending or just read-
  81.       ing messges or other types of information.
  82.   3)  Ability to upload (send) or download (receive) programs from other
  83.       computers whether TYM-SHAR, data banks, remote hobby systems
  84.       or just another individual in another location.
  85.   4)  Ability to copy incoming information on a printer.  If the print-
  86.       er is too slow to copy the data directly, the extra characters
  87.       back into a large storage buffer until they can be printed.
  88.   5)  Ability to copy incoming data into memory for automatic transfer
  89.       to a disk file.
  90.   6)  Accomodates any computer clock speed up to 25.5 MHz. in 0.1 Mhz.
  91.       increments for uniform results.  (The clock speed is actually
  92.       of modest interest, it is only used for setting timing loops.)
  93.   7)  Advanced type of error detection (CRC or Cyclic Redundancy Check)
  94.       using automatically generated high-speed lookup tables.
  95.   8)  Ability to send any of 11 different pre-programmed function keys.
  96.       (These keys are very easy to reset, using a special external
  97.       program.)
  98.   9)  Automatic disconnect from the telephone line when using CTL-N, or
  99.       "X" as an option during file transfer.  Two other disconnect
  100.       commands with the PMMI modem.
  101.  10)  Additional features of special interest to those using the PMMI
  102.       103 S-100 plug-in modem, the U. S. Robotics 300/1200, the
  103.       Anchor Signalman Mark XII, the Hayes Smartmodem 300 or 1200
  104.       or other "Hayes-compatible" modems.  Those features basically
  105.       include automatic dialing and redialing (if requested) until
  106.       the other computer finally answers.
  107.     
  108.            a) Automatic selection of a particular phone number from
  109.           a library of names and numbers.  (These phone numbers
  110.           can be very easily changed by using a special external
  111.           program.)
  112.            b) Automatic dialing for alternate long-distance systems
  113.           (where auto-dialing touch-tone modems are used).
  114.            c) Entry of a hand-typed number.  Although it might be as
  115.           simple to manually dial the number as hand-type it, it
  116.           can then be automatically redialed indefinitely.
  117.  
  118.  
  119. USING THE PROGRAM THE FIRST TIME:
  120. --------------------------------
  121.  
  122.      For now, we shall assume the program is ready to use on your equip-
  123. ment.  (Normally the user must make some modest changes to the program
  124. before it can be used.    This includes changing the port numbers and some
  125. other personal options.  These will be covered later in the section that
  126. describes how to adapt it to your equipment.)
  127.  
  128.      When the program is brought up is shows this display (if using the
  129. PMMI modem):
  130.  
  131.       MDM730 - (type M for Menu)
  132.       Version for PMMI S-100 modem starting at port: C0H
  133.  
  134.       B>>COMMAND: x
  135.  
  136.        The cursor stops at point "x:" waiting for some sort of command.
  137. Typing a "M" followed immediately by a RETURN, shows the first page of
  138. a 4-page help guide.  If you do not have a PMMI modem, you would have
  139. seen this (or a customized heading for your particular equipment):
  140.  
  141.       MDM730 - (type M for Menu)
  142.       Version for Non-Pmmi modem
  143.  
  144.       B>> COMMAND:
  145.  
  146.      In this case only a 3-page help guide is used, since the 4th page
  147. is used to assist those with the PMMI modem.  It tells them a little
  148. about changing from originate to answer mode, how to change Baud rates,
  149. how to disconnect, etc.
  150.  
  151.      Several commands are similar to those already used for CP/M, such
  152. as 'ERA', 'DIR' and the ability to change disk drives and user areas.
  153. This adds tremendous flexibility while remaining in the modem command
  154. mode.  To change disk drives, just say:
  155.  
  156.       B>>COMMAND: A: <RET>
  157.  
  158.      and you are in the same user area on the A: drive.  You can also
  159. say:
  160.       A>>COMMAND: A: 12 <RET>
  161.  
  162.      to change user areas.  When finished (using this example), say:
  163.  
  164.       A12>>COMMAND: CPM  <RET>
  165.  
  166.      and you will go back to CP/M with the original driver and user area.
  167.  
  168. OPTIONS:
  169. -------
  170.  
  171.      There are 6 primary options and 13 secondary options that may be
  172. typed on the command line.  In additon there are over 35 commands ranging
  173. from single character to three characters that can be used (such as DIR,
  174. ERA, LOG, etc.)  Those are listed on the menu.    (The exact number varies
  175. depending on whether you have the PMMI modem, etc.)
  176.  
  177.  
  178.      Primary Options:     E, L, M, R, S, T
  179.       E = Echo mode (special type of full duplex)
  180.       L = Local modem (no remote echo, half duplex)
  181.       M = Menu display showing features that are available
  182.       R = Receive a file from remote facility
  183.       S = Send a file to a remote facility
  184.       T = Terminal mode (full duplex, echo provived remotely)
  185.  
  186.      Secondary Options:  A, B, D, J, O, Q, R, S, V, X, 0, 1
  187.       A = Answer mode (used only by PMMI modems)
  188.       B = Batch mode -- allows automatic multiple file transfer
  189.         (This is normally only used from modem-to-modem as
  190.         no RCP/M system supports batch mode file transfers.)
  191.       D = Disconnect when done, stay in MDM730
  192.       J = Command mode when finished with a file transfer
  193.       O = Originate mode (used only by PMMI modems)
  194.       Q = Quiet mode, special purpose feature rarely used except if
  195.          operating through a "BYE" program.
  196.       R = Receive data shown on CRT during file transfer
  197.       S = Send data shown on CRT during file transfer
  198.       V = Visual inspection of an ASCII file being transferred.  Not
  199.          often used as most ASCII files are now "squeezed" for
  200.          minimum transfer time and disk space.
  201.       X = Exit to CP/M  when finished, disconnect from phone line
  202.       0 = Odd parity (PMMI modem)
  203.       1 = Even parity (PMMI modem)
  204.     
  205.  
  206.      Although you can get the following information from the help guide
  207. in MDM730 itself, showing it here will allow us to discuss the various
  208. features in somewhat better detail.
  209.  
  210.      (*) INDICATES PMMI, ANCHOR, HAYES AND US ROBOTICS ALL APPLY.
  211.  
  212. -   -    -   -    -   -    -   -    -   -    -   -    -   -    -   -    -   -
  213.  
  214.  
  215. THE HELP GUIDE, PAGE 1:
  216. ----------------------
  217.  
  218.          Single Letter Commands
  219.  
  220. ?  - Display current settings
  221. ^  - Function key intercept character, then (0-9)
  222. M  - Display the menu
  223. E  - Terminal mode with echo
  224. L  - Terminal mode with local echo
  225. T  - Terminal mode
  226.     For copying text to disk use T (or E or L) FILENAME.TYP
  227.     Start or Stop toggles described on subsequent screen.
  228. R  - Receive CP/M file using Christensen Protocol
  229. S  - Send CP/M file using Christensen Protocol
  230.     COMMAND: R (or S) FILENAME.TYP
  231.     R and S can use the following subcommands:
  232.        B  - Bulk transfer using wildcards (e.g., *.*)
  233.        D  -    Disconnect when done, return to command mode
  234.        Q  - Quiet mode (no messages to console)
  235.        V  - View <R> or <S> bytes on console
  236.        X  - When done, disconnect, go to CP/M
  237.  
  238.      The single letter commands may also be used on the
  239.      command line when the program is initially executed.
  240.  
  241. Hit any KEY to CONTINUE
  242.  
  243. -   -    -   -    -   -    -   -    -   -    -   -    -   -    -   -    -   -
  244.  
  245.  
  246. DISCUSSION OF HELP GUIDE PAGE 1:
  247. -------------------------------
  248.  
  249.      There are basically three types of commands that may be used with
  250. this program:
  251.          1)  Single-letter commands shown on page one.
  252.          2)  Three-letter commands shown on page 2, and
  253.          3)  Control-<char.> commands shown on page 3.
  254.  
  255.      Going down the list:
  256.  
  257.   ? - shows current parameters.  As these are closely tied in with some
  258.       of the other options, we shall show a typical example later
  259.       in this discussion.
  260.   ^ - shows the function key intercept character.  This may be easily
  261.       changed using an external program.  (You may prefer 'escape'
  262.       or some seldom used control-character.)
  263.  
  264.       NOTE:  typing this character while in the command mode will
  265.          display all the programmable function key definitions
  266.          with the exception of the log-on string which uses
  267.          CTL-L.
  268.  
  269.   M - shows the menu a page at a time.    You may abort after any page is
  270.       shown with a control-C.
  271.   E - terminal mode with echo.    When talking with another terminal also
  272.       also using MDM730 (or a comparable program), one of you must
  273.       send an "echo-back" so you can both see what the other person
  274.       is typing.  This is needed for full-duplex operation.  Usually
  275.       the person originating the call will type "E" instead of "T".
  276.       However either may do this.  If "both" use the echo mode, the
  277.       program usually starts typing a string of feedback characters
  278.       since both computers are re-sending the same character over
  279.       and over.  You can stop this by just returning to command mode
  280.       (type control-E) and then retyping "T" rather than "E".
  281.   L - terminal mode with local echo.  Shows what you are typing but does
  282.       not send an echo of the other person's typing back to him.  
  283.           Can be used at both ends, in place of one person using "E".
  284.           Both "E" and "L" are useful at times for some types of modems
  285.           that do not use full-duplex, or for some main frame units that
  286.           run half-duplex.  The combination of "T", "E" and "L" gives an
  287.           excellent choice to use on various systems.  Normally the "T"
  288.           mode is sufficient except when talking with another person and
  289.           then the "E" mode at one end or "L" mode at both ends will
  290.           provide normal results.  If the remote system does not supply
  291.       a LF after a CR, you can get that from the 'TLF' command.
  292.   T - puts the program directly into "terminal mode", allowing it to
  293.       send from the keyboard to the other computer, and to copy any-
  294.       thing coming from the other computer with the exception of
  295.       file transfers (use "R" to receive those).
  296.   R - used only for receiving files from the other computer.  These are
  297.       usually sent in binary form with either checksum verification
  298.       or more commonly, CRC (Cyclic Redundancy Checking).  If ready
  299.       to receive another file, you have several choices, depending
  300.       on the program used by the other computer.   After notifying
  301.       him you are ready (or will be very shortly), you can type:
  302.  
  303.            B>>COMMAND: R HELLO.DOC <RET>
  304.  
  305.       and when he starts to send, you will receive the program which
  306.       then goes directly to the disk.  You could also have said:
  307.  
  308.            B>>COMMAND: RB <RET>
  309.  
  310.       This is called the "Batch mode" and is an extremely useful way
  311.       to receive programs automatically, from another computer using
  312.       a similar program.  He will use the batch mode for sending the
  313.       programs and that automatically provides the file names at the
  314.       receiving end.  In this manner, large numbers of programs can
  315.       be transferred completely automatically, including full disks.
  316.       (Assuming you care to pay the toll calls for the time it will
  317.       take!)
  318.  
  319.       NOTE:  The ideal way to receive batch mode would be:
  320.  
  321.            B>>COMMAND: RB <RET>
  322.  
  323.          since you may not know in advance how many programs he
  324.          will be sending.
  325.  
  326.            NOTE:  While receiving a file, any errors will be shown
  327.               on the console CRT, indicating that portion of the
  328.               program is being repeated.  If the file finishes
  329.               transferring normally, it will have been received
  330.               error-free.  Those error notices are merely to let
  331.               the user know a momentary problem caused a resend.
  332.               The error messages indicate phone line quality.
  333.  
  334.   S - used only to end programs.  Similar to "R" but sends instead of
  335.       receives.  If the other system is ready to receive, you could
  336.       then type:
  337.  
  338.            B>>COMMAND: S HELLO.DOC <RET>
  339.  
  340.       It will tell you how many records are involved and how many
  341.       minutes and seconds it will take to send the program.  If the
  342.   ┴M     S M ╦ ├      S M┴     ├\   ├M  M  M  M   M  ═ ╠   · ≤    ┴U├═┼  ┴U ╦ ═S    ┴  TÇ öΩ₧Çá₧₧║Çφ=   #l /- /=  ⁿ  /ⁿ  ╜ pb  /?╜ kQ qæ Q¢K ¢¢  X   x ¢  ╗Ö ╗  x q     æ   Q  ï {Qq▓FåV╥α╨áÆùBvû╞┬&W6Vµ  |╒ ⌡    ╒ ⁿ▄ ⁿ orrectly received at the other
  343.       computer.  If too many consecutive errors occur (normally set
  344.       at 10), the transfer is terminated.  The 'batch mode' may also
  345.       be used for sending:
  346.  
  347.            B>>COMMAND: SB HELLO.*            (sending batch mode)
  348.  
  349.       will send all files starting with HELLO, or can send just one
  350.       file, or can send several non-related files in this manner:
  351.  
  352.            B>>COMMAND: SB HELLO.DOC XDIR.COM TERM.*
  353.  
  354.       etc.    Be sure to put a space between the various files.  You
  355.       can include the 'X' option:
  356.  
  357.            B>>COMMAND: SBX HELLO.* MDM730.LBR MDM730.AQM
  358.  
  359.       When the file transfer is completed it disconnects from the
  360.       phone line and reverts to CP/M.  This allows you to be absent
  361.       when the file is finished, offering an advantage when sending
  362.       lengthy files.
  363.  
  364. -   -    -   -    -   -    -   -    -   -    -   -    -   -    -   -    -   -
  365.  
  366.  
  367. THE HELP GUIDE, PAGE 2:
  368. ----------------------
  369.  
  370.         Three Letter Commands
  371.  
  372. CPM - Exit from this program to CP/M
  373. DIR - List directory and space free (may specify drive)
  374. ERA - Erase file (may specify drive)
  375. LOG - Change default drive/user no. (specify drive/user)
  376.       and reset disks.    e.g. LOG A0: or LOG B: (user # unchanged)
  377. SPD - Set speed of file output in terminal mode
  378. TIM - Select Baud rate 
  379.  
  380.         MD730C64
  381.  
  382.     MD730C64 is a version of Irv Hoff's MDM730 modified for
  383. the Commodore 64.  If you are unfamiliar with MDM730, you can
  384. get a detailed description from the file MDM730.DQC in the
  385. library MDM730.LBR.  This version works with the Hayes 300 
  386. Smartmodem, the VICmodem and probably any other modem that
  387. connects to an RS-232 port.  With the Hayes, you can use the
  388. auto dial features of the program.
  389.  
  390.     MD730C64 will work ONLY with a 44k (or smaller) Commodore
  391. 64 CP/M system.  The RS-232 buffers and a character translation
  392. table are located in the "extra" 4k.  If you try to work with
  393. a 48k system, the program will crash.
  394.  
  395. Please note the following:
  396.  
  397.    1. Ctl-W (not Ctl-T) is used to start an ASCII file transfer
  398.       in terminal mode.
  399.    2. The program is currently set for pulse dialing with a
  400.       Haye's Smartmodem.  If you have touch tone dialing, patch
  401.       location 105H to be an ASCII 'P'.  It is currently a 'T'.
  402.    3. There is no cursor when you are in terminal mode.  (You'll
  403.       get used to it - honest!)
  404.    4. The program has been tested at 300 baud.  Because of
  405.       the interaction between the two processors, it may need
  406.       more work to run correctly at 1200.
  407.  
  408.     This is an initial release and I would sincerely appreciate
  409. hearing from you if you use the program.  Modifying MDM730 for
  410. this computer was painful because of the way the C-64 handles its
  411. RS-232 port.  It has been thoroughly tested but it is
  412. a very complex program and there may be problems remaining simply
  413. because there are combinations of functions that I am not aware of.
  414. Please let me know if you incover any.  I'd also like to hear from
  415. you if you use it and don't have problems.  When I have enough
  416. confidence in the program,  I'll release the source code for
  417. the overlay.
  418.  
  419.                 Walt Piotrowski
  420.                 RD1 Box 582
  421.                 Afton, NY 13730
  422.                 (607) 693-2809 (voice)
  423.                 Compuserve 72636,761
  424.                     or
  425.  
  426.             Leave a message on Charles Zalenski's
  427.             RBBS (607) 797-6416 - Johnson City, NY
  428.